package com.xiaoyu;

import com.xiaoyu.model.Post;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PostDao {
    public List<Post> findPost(Post post);
    public Integer addPost(Post post);
    public Integer deletePost(Post post);
    public Integer updatePost(Post post);
    public Post findOnePost(Post post);
}
